﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Threading;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Xml;
using System.Xml.Linq;
using System.Windows.Threading;
using WEI_Share.Helpers;

namespace WEI_Share
{
	/// <summary>
	/// Interaction logic for ProgressIndicator.xaml
	/// </summary>
	public partial class ProgressIndicator : Window
	{
		public ProgressIndicator()
		{
			InitializeComponent();

			uxMain.ContentRendered += new EventHandler(uxMain_ContentRendered);
		}

		


		#region Event Handlers

		/// <summary>
		/// Handles the main event equivalent to winfows form .shown
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		void uxMain_ContentRendered(object sender, EventArgs e)
		{
		}
		#endregion


		/// <summary>
		/// Used to centralize the return value in code
		/// </summary>
		/// <param name="returnValue"></param>
		void SetupReturnValueAndCloseWindow(bool? returnValue)
		{
			this.DialogResult = returnValue;
			this.Close();
		}

	}
}
